[INFO] cloning repository https://github.com/ghl3/hermes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghl3/hermes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghl3%2Fhermes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghl3%2Fhermes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 79fa0bec5bd14fb3ef317a56d7ef25d75860ef5f
[INFO] testing ghl3/hermes against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghl3%2Fhermes" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ghl3/hermes on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ghl3/hermes
[INFO] finished tweaking git repo https://github.com/ghl3/hermes
[INFO] tweaked toml for git repo https://github.com/ghl3/hermes written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/ghl3/hermes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded url v0.2.38
[INFO] [stderr]   Downloaded tiny_http v0.5.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 548be7c3389f39c217f678912345ace54c6d1051afae3714db149500216c0210
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "548be7c3389f39c217f678912345ace54c6d1051afae3714db149500216c0210", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "548be7c3389f39c217f678912345ace54c6d1051afae3714db149500216c0210", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "548be7c3389f39c217f678912345ace54c6d1051afae3714db149500216c0210", kill_on_drop: false }`
[INFO] [stdout] 548be7c3389f39c217f678912345ace54c6d1051afae3714db149500216c0210
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c15e7794509b90be699893fed9a9b6f32c92ac62af51b7d326cb7c949c3a1b83
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c15e7794509b90be699893fed9a9b6f32c92ac62af51b7d326cb7c949c3a1b83", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling strsim v0.5.2
[INFO] [stderr]    Compiling ascii v0.7.1
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.2.6
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling uuid v0.1.18
[INFO] [stderr]    Compiling uuid v0.2.3
[INFO] [stderr]    Compiling url v0.2.38
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling url v0.5.10
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling docopt v0.6.86
[INFO] [stderr]    Compiling tiny_http v0.5.9
[INFO] [stderr]    Compiling hermes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Debug, RustcDecodable)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ok`
[INFO] [stdout]   --> src/router.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | use http::{ok, http_response};
[INFO] [stdout]    |            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/router.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let url = try!(get_url(request));
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/router.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 80 |             let json = try!(get_body_as_json(&mut request));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/router.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |     try!(request.as_reader().read_to_string(&mut content));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/router.rs:165:22
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let json: Json = try!(Json::from_str(&content));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/router.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 |     Ok(try!(url_parser::parse_url_resource(request.url())))
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if (location.len() == 0) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |         } else if (location.chars().nth(0).unwrap() != '/') {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if (query == "") {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 if (param_pair_split.len() != 2) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustc_serialize::json`
[INFO] [stdout]  --> src/api.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rustc_serialize::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/table.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if (self.data.contains_key(table)) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/table.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let table = try!(self.get_mut_table(table));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/table.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if (table.contains_key(key)) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/table.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let table = try!(self.get_table(table));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/table.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let table = try!(self.get_mut_table(table));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/router.rs:136:53
[INFO] [stdout]     |
[INFO] [stdout] 136 |             RequestError::ReadError(ref err) => err.description(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/router.rs:137:58
[INFO] [stdout]     |
[INFO] [stdout] 137 |             RequestError::JsonParseError(ref err) => err.description(),
[INFO] [stdout]     |                                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/router.rs:138:57
[INFO] [stdout]     |
[INFO] [stdout] 138 |             RequestError::UrlParseError(ref err) => err.description(),
[INFO] [stdout]     |                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/router.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/router.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/router.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 |         (method, location) => Err(RequestError::UnknownResource),
[INFO] [stdout]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/router.rs:88:18
[INFO] [stdout]    |
[INFO] [stdout] 88 |         (method, location) => Err(RequestError::UnknownResource),
[INFO] [stdout]    |                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut tables = table::Tables::new();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/router.rs:31:46
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn handle_request(context: &mut Context, mut request: &mut Request) -> Response<Cursor<Vec<u8>>> {
[INFO] [stdout]    |                                              ----^^^^^^^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UnsupportedMethod`
[INFO] [stdout]    --> src/router.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     UnsupportedMethod
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `InvalidQuery`
[INFO] [stdout]   --> src/url_parser.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     InvalidQuery
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(slice_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `okJson` should have a snake case name
[INFO] [stdout]   --> src/http.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn okJson(data: Json) -> Response<Cursor<Vec<u8>>> {
[INFO] [stdout]    |        ^^^^^^ help: convert the identifier to snake case: `ok_json`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.14s
[INFO] running `Command { std: "docker" "inspect" "c15e7794509b90be699893fed9a9b6f32c92ac62af51b7d326cb7c949c3a1b83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c15e7794509b90be699893fed9a9b6f32c92ac62af51b7d326cb7c949c3a1b83", kill_on_drop: false }`
[INFO] [stdout] c15e7794509b90be699893fed9a9b6f32c92ac62af51b7d326cb7c949c3a1b83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9fc0e855418eb0e4d98035728f7adbdf10ae7d18c2854b449191795cb5b90f6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b9fc0e855418eb0e4d98035728f7adbdf10ae7d18c2854b449191795cb5b90f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling hermes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http`
[INFO] [stdout]   --> src/router.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |     assert!(http::response_string(response) == http::response_string(ok("foobar")));
[INFO] [stdout]    |             ^^^^ use of undeclared crate or module `http`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http`
[INFO] [stdout]   --> src/router.rs:96:48
[INFO] [stdout]    |
[INFO] [stdout] 96 |     assert!(http::response_string(response) == http::response_string(ok("foobar")));
[INFO] [stdout]    |                                                ^^^^ use of undeclared crate or module `http`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request_router` in this scope
[INFO] [stdout]   --> src/router.rs:95:20
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let response = request_router(&Method::Post, UrlResource::from_resource("/foo").unwrap());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Debug, RustcDecodable)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/router.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let url = try!(get_url(request));
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/router.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 80 |             let json = try!(get_body_as_json(&mut request));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/router.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |     try!(request.as_reader().read_to_string(&mut content));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/router.rs:165:22
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let json: Json = try!(Json::from_str(&content));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/router.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 |     Ok(try!(url_parser::parse_url_resource(request.url())))
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if (location.len() == 0) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |         } else if (location.chars().nth(0).unwrap() != '/') {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if (query == "") {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/url_parser.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 if (param_pair_split.len() != 2) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustc_serialize::json`
[INFO] [stdout]  --> src/api.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rustc_serialize::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/table.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if (self.data.contains_key(table)) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/table.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let table = try!(self.get_mut_table(table));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/table.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if (table.contains_key(key)) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/table.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let table = try!(self.get_table(table));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/table.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let table = try!(self.get_mut_table(table));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/router.rs:136:53
[INFO] [stdout]     |
[INFO] [stdout] 136 |             RequestError::ReadError(ref err) => err.description(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/router.rs:137:58
[INFO] [stdout]     |
[INFO] [stdout] 137 |             RequestError::JsonParseError(ref err) => err.description(),
[INFO] [stdout]     |                                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/router.rs:138:57
[INFO] [stdout]     |
[INFO] [stdout] 138 |             RequestError::UrlParseError(ref err) => err.description(),
[INFO] [stdout]     |                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/router.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/router.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hermes`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "b9fc0e855418eb0e4d98035728f7adbdf10ae7d18c2854b449191795cb5b90f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9fc0e855418eb0e4d98035728f7adbdf10ae7d18c2854b449191795cb5b90f6", kill_on_drop: false }`
[INFO] [stdout] b9fc0e855418eb0e4d98035728f7adbdf10ae7d18c2854b449191795cb5b90f6
